package grav;

import integration.IntegrableSystem;

public class GravFlakeSystem extends IntegrableSystem {

	public Gravity grav;
	
	GravFlakeSystem() {
		grav = new Gravity();
	}
	
	public void addGravFlake(GravFlake a) {
		addIntegrable(a);
		grav.objectList.add(a);
	}
	
	public void addGravLump(GravLump a) {
		grav.objectList.add(a);
	}

	public void findSlope() {
		super.findSlope();
		grav.applyForces();
	}
}
